	<?php echo flash_message();?>
<section class="contact">
	<h2>Contact Me</h2>
	<p>
		If you want to share something or if you are interested in my services as a freelance, please feel free to write me a message, I will get back to you soon, thank you. ☺	</p>
	<h3 class="outline_header">Contact Form</h3>

	<?php
	echo validation_errors('<p class="error">');
	$attributes['id']="contact_form";
	echo form_open("contact/send/", $attributes);
	?>

	<fieldset>
		<p>
			<label for="name">Name <em> // required</em></label>
			<br>
			<input id="name" name="name" placeholder="your name..." type="text" required />
		</p>
		<p>
			<label for="company">Company</label>
			<br>
			<input id="company" name="company" placeholder="your company..." type="text" >
		</p>
		<p>
			<label for="from">Your email address <em> // required</em></label>
			<br>
			<input id="email" name="email"  placeholder="your email address..." type="email" required>
		</p>
		<p>
			<label for="phone">Phone number</label>
			<br>
			<input id="phone" name="phone" placeholder="e.g. +52 XXX XXX XXXX" type="tel">
		</p>
		<p>
			<label for="message">Message <em> // required</em></label>
			<br>
			<textarea name="message"  cols="65"  rows="20"  required></textarea>
		</p>
		<p>
			<input type="reset" value="Clear" style="width: 35%" />
			<input type="submit" value="Send your message" style="width: 35%" />
		</p>
	</fieldset>
	<?php
	
	echo form_close();	
	
	?>
</section>
<?php $this->load->view('public/contact/sidebar'); ?>